package com.ruoyi.purchase.mapper;

import com.ruoyi.purchase.domain.Classification;

import java.util.List;

/**
 * classificationMapper接口
 * 
 * @author ruoyi
 * @date 2025-08-24
 */
public interface ClassificationMapper 
{
    /**
     * 查询classification
     * 
     * @param id classification主键
     * @return classification
     */
    public Classification selectClassificationById(Long id);

    /**
     * 查询classification列表
     * 
     * @param classification classification
     * @return classification集合
     */
    public List<Classification> selectClassificationList(Classification classification);

    /**
     * 新增classification
     * 
     * @param classification classification
     * @return 结果
     */
    public int insertClassification(Classification classification);

    /**
     * 修改classification
     * 
     * @param classification classification
     * @return 结果
     */
    public int updateClassification(Classification classification);

    /**
     * 删除classification
     * 
     * @param id classification主键
     * @return 结果
     */
    public int deleteClassificationById(Long id);

    /**
     * 批量删除classification
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteClassificationByIds(Long[] ids);
}
